Template.home_sidebar.helpers({
  isActive(name) {
    let routeName = Router.current().route.getName();

    if (name == 'home' && routeName == 'home.reset') {
      return 'active';
    }

    if (name == 'home' && routeName == 'home.profiles') {
      return 'active';
    }
    
    return name == routeName ? 'active' : '';
  }
});